.llm-chat-message {
    color: #fff;
    display: flex;
}

.llm-chat-message.assistant {
    justify-content: flex-start;
}

.llm-chat-message.user {
    flex-flow: row-reverse;
}

.llm-chat-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 10px;
}

.llm-chat-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.llm-chat-content {
    position: relative;
    padding: 10px;
    background-color: #444;
    border-radius: 10px;
    width: auto;
    min-width: 5%;
    max-width: 80%;
    word-wrap: break-word;
}

.llm-chat-content .llm-chat-name {
    position: absolute;
    top: -20px;
}

.llm-chat-message.assistant .llm-chat-name {
    left: 0;
}

.llm-chat-message.user .llm-chat-name {
    right: 0;
}



/* ================  chat-box  ================ */
.llm-chat-container {
    position: relative;
    width: 100%;
}

.llm-chat-box {
    position: absolute;
    display: flex;
    width: 100%;
}

.llm-chat-box-input {
    position: relative;
    width: 100%;
    max-height: 300px;
    padding: 0;
    margin: 0;
    border: none;
    resize: none;
    overflow-y: scroll;
    outline: none;
}

.llm-chat-box-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background-color: #444;
}

.llm-chat-box-mapping {
    position: absolute;
    visibility: hidden;
    width: 100%;
    height: auto;
    background-color: red;
    white-space: pre;
}

.llm-chat-box-send {
    height: 32px;
    min-width: 50px;
    align-self: flex-end;
    flex-basis: 50px;
    padding: 0;
    margin: 0;
    border: none;
}